﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyVoteMVC.ExcelObject
{
    public class Project
    {
  
        /// <summary>
        /// 年份
        /// </summary>
        public string Project_Year { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Project_Address { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Project_Name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Project_Type { get; set; }

        /// <summary>
        /// 获奖情况
        /// </summary>
        public string Project_Awards { get; set; }

        public string Project_Description { get; set; }
        /// <summary>
        /// 选项图片
        /// </summary>
        public byte[] Project_Image { get; set; }

        public override string ToString()
        {
            return "名称:" + Project_Name 
                + "类型:" + Project_Type 
                + "地址:" + Project_Address 
                + "年份:" + Project_Year
                +"获奖情况:"+Project_Awards
                + "图片长度:" + (Project_Image == null ? "0" : Project_Image.Length.ToString()); 
        }
    }
}
